<!DOCTYPE html>
<html>
<head>
<title>个人资料</title>
<?php $this->load->view('common/include2');?>
<style>

</style>
</head>
<body id="app" v-cloak>
		<header-layout title='Bone Vue'>
			<header-dock align='left'>
				<a href="<?php echo site_url('/user'); ?>"><Icon type="back"></Icon></a>
			</header-dock>
			个人资料

		</header-layout>
		<layout-main>
			<form-group type='blank' v-ref:form>
				<layout-box >
					<form-input v-ref:phone readonly="readonly" name="username" format="phone" required=true place-holder="请输入手机号" label="手机号" icon="people" size="lg" :val="userinfo.username"></form-input>
					<form-input name="pname" required=true place-holder="请输入家长姓名" label="家长名" size="lg" :val="userinfo.pname"></form-input>

				</layout-box>
				<layout-box m='1000'>
					<form-input name="sname" required=true place-holder="请输入学生姓名" label="学生名" size="lg" :val="userinfo.sname"></form-input>
					<form-select id="sch" v-ref:op :data="schools" name="school" required=true label="学 校" size="lg"
						@select-change="schoolchange"></form-select>
					<form-select
						v-ref:grades
						:data="grades"
						name="grade"
						required=true
						place-holder="请选择年级"
						label="年 级"
						size="lg"
						@select-change="gradechange"
						></form-select>
					<form-select
						v-ref:classes
						:data="classes"
						name="class"
						required=true
						place-holder="请选择班级"
						label="班 级"
						size="lg"
						></form-select>
					<form-input name="sno" required=true place-holder="请输入学号"  label="学 号" size="lg" :val="userinfo.sno"></form-input>
				</layout-box>
			</form-group>

			<grid-row p='1111'>
				<Btn type="primary" size="lg" block=true @btn-click="submit" name="修 改"></Btn>
			</grid-row>
		</layout-main>
	<script>
	var USERINFO =  <?php echo json_encode($user);?>;
	var SCHOOLS  = <?php echo json_encode($school); ?>;
	var GRADES = <?php echo json_encode($grade); ?>;
	var CLASSES = <?php echo json_encode($class); ?>;
	</script>
	<script src="js/personinfo.build.js?v=1.1"></script>
</body>
</html>
